import java.util.*;

public class Person {
    
    private String name;
    private Date dateOfBirth;
    private boolean vip;

    public Person() {
    }

    public Person(String name, Date dateOfBirth, boolean vip) {
        this.name = name;
        this.dateOfBirth = dateOfBirth;
        this.vip = vip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDateOfBirth() {
        return dateOfBirth;
    }

    public void setDateOfBirth(Date dateOfBirth) {
        this.dateOfBirth = dateOfBirth;
    }

    public boolean isVip() {
        return vip;
    }

    public void setVip(boolean vip) {
        this.vip = vip;
    }

    @Override
    public String toString() {
        return "Person{" + "name=" + name + ", dateOfBirth=" + dateOfBirth + ", vip=" + vip + '}';
    }
    
}
